package com.xbongbong.pro.script.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 *
 * @author xinpeng.jiang
 * @date 2021/3/22 15:43
 * @version 1.0
 * @since V1.0
 */
@Getter
@Setter
@ToString
public class ResetFlowBillDTO implements Serializable {

    private static final long serialVersionUID = -5190953688537254583L;

    @NotBlank(message = "公司不能为空")
    private String corpid;

    @NotBlank(message = "校验码不能为空")
    private String xbbCode;

    /**
     * 需要添加多久以前的流水，单位秒
     */
    @NotNull(message = "流水需刷时间不能为空")
    private Long beforeSeconds;

}
